package com.example.design.shejimoshi.action.visitor.practice2.visit;

import com.example.design.shejimoshi.action.visitor.practice2.element.TianHeCuCCPlusCardStatusResource;
import com.example.design.shejimoshi.action.visitor.practice2.element.ZhuHaiCardStatusResource;

/**
 * @Description 访问者,一个实现类对应一个业务,多少个元素就多少个visit方法
 * @Author liuzhihui
 * @Date 2024/6/26
 */
public interface Visitor {
    void visit(TianHeCuCCPlusCardStatusResource tianHeCuCCPlusCardStatusResource);
    void visit(ZhuHaiCardStatusResource tianHeCuCCPlusCardStatusResource);
}
